package com.ruoyi.eam.doman;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 存放位置对象 eam_location
 *
 * @author ruoyi
 * @date 2024-06-18
 */
public class EamLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 存放编号 */
    private Long locationId;

    /** 存放名称 */
    @Excel(name = "存放名称")
    private String locationName;

    /** 父级编号 */
    @Excel(name = "父级编号")
    private Long parentId;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long creator;

    public void setLocationId(Long locationId)
    {
        this.locationId = locationId;
    }

    public Long getLocationId()
    {
        return locationId;
    }
    public void setLocationName(String locationName)
    {
        this.locationName = locationName;
    }

    public String getLocationName()
    {
        return locationName;
    }
    public void setParentId(Long parentId)
    {
        this.parentId = parentId;
    }

    public Long getParentId()
    {
        return parentId;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setDesc(String description)
    {
        this.description = description;
    }

    public String getDesc()
    {
        return description;
    }
    public void setCreator(Long creator)
    {
        this.creator = creator;
    }

    public Long getCreator()
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("locationName", getLocationName())
            .append("parentId", getParentId())
            .append("sort", getSort())
            .append("desc", getDesc())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .toString();
    }
}
